package com.zm.boss.service.repository.mapper;

import java.util.List;
import java.util.Map;

public interface BaseMapper<T> {
    int updateByMapSelective(Map<String, Object> params);

    List<T> selectByMap(Map<String, Object> paramsMap);

    Integer insertSelectiveByMap(Map<String, Object> paramsMap);
    Integer deleteByMap(Map<String, Object> paramsMap);

    <T> T selectOneByMap(Map<String, Object> paramsMap);

    Integer selectCountByMap(Map<String, Object> paramsMap);
}
